/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao.interfaces;

import dao.exception.DAOCandidatureException;
import java.sql.Date;
import java.util.ArrayList;
import model.Candidat;
import model.Candidature;

/**
 *
 * @author Paul
 */
public interface DAOCandidature {

    public ArrayList<Candidature> findAll() throws DAOCandidatureException;

    public Candidature find(int idCandidat) throws DAOCandidatureException;

    public void create(int idFormation, int idCandidat, Date dateCandidature, String etatCandidature) throws DAOCandidatureException;

    public void update(Candidat candidat) throws DAOCandidatureException;

    public void delete(int idCandidat) throws DAOCandidatureException;
}
